/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package apt;

import java.util.Scanner;

/**
 *
 * @author lhminh
 */
public class Season {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        System.out.print("Nhap thang: ");
        Scanner input = new Scanner(System.in);
        int thang = input.nextInt();
        int i;
        for (i = 0; i < thang; i++) {
            System.out.println(i);
        }
        
        for (i = 0; i < thang; i++) {
            System.out.println(i);
        }
    }
}
